package com.college_career_system.service;

import com.alibaba.fastjson.JSONObject;
import com.college_career_system.pojo.po.Resume;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Empty
 * @since 2022-12-04
 */
public interface ResumeService extends IService<Resume> {

    /**
     * 新增简介
     * @param resume
     * @return
     */
    JSONObject addResume(HttpServletRequest request, Resume resume);

    /**
     * 根据用户id查找他的简历
     * @param request
     * @return
     */
    JSONObject selectResumeByUid(HttpServletRequest request);

    /**
     * 根据简历id修改简历信息
     * @param resume
     * @return
     */
    JSONObject changeResumeById(Resume resume);

}
